package com.netease.yanxuan.qa.yx.yuheng.exception;

import static com.netease.yanxuan.qa.yx.yuheng.config.YxYuhengConstants.ERROR_CODE;

/**
 * <Description>
 *
 * @author yanlu02
 * @date 2021/1/14 20:25
 */
public class CusYxYuhengException extends RuntimeException {
    private int errorCode = ERROR_CODE;

    public CusYxYuhengException(int errorCode, String errorMsg) {
        super(errorMsg);
        this.errorCode = errorCode;
    }

    public CusYxYuhengException(String errorMsg) {
        super(errorMsg);
    }
}
